package com.bj58.mis.apm.apm.scf.module;

import javax.persistence.*;

/**
 * 〈一句话功能简述〉<br>
 * 〈roc用户表〉
 *
 * @author zhangyu84
 * @create 2018/7/5
 * @since 1.0.0
 */
@Entity
@Table(name = "roc_user")
public class RocUser {
    private long id;
    private String userName;
    private String realName;
    private String role;
    private int deleted;
    private String createTime;
    private String lastModified;

    public RocUser() {
    }

    public RocUser( String userName, String realName) {
        this.userName = userName;
        this.realName = realName;
    }

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    @Column(name = "userName")
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Column(name = "realName")
    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    @Column(name = "role")
    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    @Column(name = "deleted")
    public int getDeleted() {
        return deleted;
    }

    public void setDeleted(int deleted) {
        this.deleted = deleted;
    }

    @Column(name = "create_time")
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Column(name = "last_modified")
    public String getLastModified() {
        return lastModified;
    }

    public void setLastModified(String lastModified) {
        this.lastModified = lastModified;
    }
}
